package cn.juforg.gobang;

/**
 * 缩放中心点
 * @author songjie
 *
 */
public class ZoomPoint{
	private float x= 0f;
	private float y= 0f;
	private static ZoomPoint zoomPoint= new ZoomPoint();
	
	private ZoomPoint() {
		super();
	}
	public static ZoomPoint  getInstance(){
		return zoomPoint;
	}
	public float getX() {
		return x;
	}

	public void setX(float x) {
		this.x = x;
	}

	public float getY() {
		return y;
	}

	public void setY(float y) {
		this.y = y;
	}
	
	public void set(float x, float y){
		this.x = x;
		this.y = y;
	}
	
	@Override
	public String toString() {
		return "zoomPoint x:"+this.x+",y:"+this.y;
	}
	
}
